package com.kgc.ebook.ebookmanager.service;

import com.github.pagehelper.PageInfo;
import com.kgc.ebook.ebookmanager.pojo.Entry;

/**
 * @author shkstart
 * @create 2020-05-18 17:19
 */
public interface EntryService {
    public PageInfo<Entry> select(Integer pageNum, Integer pageSize, Integer categoryId);

    public Integer add(Entry entry);
    public Entry selectById(Integer id);

    public Integer update(Entry entry);

    public Integer delete(Integer id);


}
